package org.smartbird
{
	public class RoomManager
	{
		private var roomList:Object; 
		
		public function RoomManager()
		{
			roomList = new Object();
		}
		
		public function addRoom(room:Room):void
		{
			roomList[room.id] = room;
		}
		
		public function getRoomById(id:int):Room
		{
			return roomList[id]; 
		}

	}
}